package com.fowo.api.model.product;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import javax.validation.constraints.*;
import lombok.Data;

/** SPU已选属性 导入导出辅助模型 */
@Data
public class ProductSpuAttributeExcelPo {

  @ExcelProperty(value = "所属SPU")
  private String productIdSpuName;

  @ExcelIgnore
  @ExcelProperty(value = "所属SPU")
  private Long productId;

  @Size(max = 50, message = "属性长度不能超过20")
  @ExcelProperty(value = "属性")
  private String attributeIdName;

  @ExcelIgnore
  @ExcelProperty(value = "属性")
  private Long attributeId;
}
